package com.ftg.product.exam.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 1.3 员工信息(名称、性别、所在部门、职务、邮箱、手机号、岗位) Entity定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
* Copyright © ftg
*/
@ApiModel(value = "1.3 员工信息(名称、性别、所在部门、职务、邮箱、手机号、岗位)")
@Getter @Setter @Accessors(chain = true)
public class SysEmployee extends BaseCustomEntity {
    private static final long serialVersionUID = -8750705043149764079L;

    /**
    * empsexcode字段的关联字典
    */
    public static final String DICT_SEX = "SEX";

    /**
    * emppostcode字段的关联字典
    */
    public static final String DICT_POST = "POST";

    /**
    * empjobcode字段的关联字典
    */
    public static final String DICT_JOB = "JOB";

    /**
    * 员工姓名 
    */
    @ApiModelProperty(value="员工姓名", required = false)
    @Length(max=100, message="员工姓名长度应小于100")
    @TableField()
    private String empname;

    /**
    * 员工性别 
    */
    @ApiModelProperty(value="员工性别", example = "")
    @TableField()
    private Long empsexcode;

    /**
    * 岗位 
    */
    @ApiModelProperty(value="岗位", example = "")
    @TableField()
    private Long emppostcode;

    /**
    * 手机号 
    */
    @ApiModelProperty(value="手机号", example = "")
    @Length(max=100, message="手机号长度应小于100")
    @TableField()
    private String empphone;

    /**
    * 登录密码 
    */
    @ApiModelProperty(value="登录密码", example = "")
    @Length(max=100, message="登录密码长度应小于100")
    @TableField()
    private String emppassword;

    /**
    * 邮箱 
    */
    @ApiModelProperty(value="邮箱", example = "")
    @Length(max=100, message="邮箱长度应小于100")
    @TableField()
    private String empemail;

    /**
    * 职务 
    */
    @ApiModelProperty(value="职务", example = "")
    @TableField()
    private Long empjobcode;

    /**
    * 所在部门 
    */
    @ApiModelProperty(value="所在部门", example = "1")
    @NotNull(message = "所在部门不能为空")
    @TableField()
    private Long emporgcode;

    /**
    * 个人照片 
    */
    @ApiModelProperty(value="个人照片", example = "")
    @Length(max=100, message="个人照片长度应小于100")
    @TableField()
    private String empphoto;

    /**
    * 个人介绍 
    */
    @ApiModelProperty(value="个人介绍", example = "")
    @Length(max=100, message="个人介绍长度应小于100")
    @TableField()
    private String emppresent;


} 
